package com.jymj.dao;

import com.jymj.entity.zjd.ApplyFileEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ljj on 2018/9/12.
 */
@Mapper
public interface ApplyFileDao extends BaseDao<ApplyFileEntity> {

    List<ApplyFileEntity> queryListByYlid(Integer[] ylIds);

    void deleteBatchByYlid(Integer[] ylIds);

    ApplyFileEntity getByYlid(Integer id);

    void saveFiles(@Param("applyFileEntities") List<ApplyFileEntity> applyFileEntities, @Param("id") Integer id);
}
